package com.orcsystem.auth.Feign;

import com.orcsystem.auth.entity.vo.UserLoginVo;
import com.orcsystem.auth.entity.vo.UserRegistVo;
import com.orcsystem.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @CreateData: 2020/12/23-09:26
 * Author   AiHongSen
 * 方法说明
 * SL 查询、DL 删除、UP 更新、IN 新增方法
 * MemberFeignService->作用:
 */
@FeignClient("orcsystem-member")
public interface MemberFeignService {
    @PostMapping("/member/member/regist")
    R regist(@RequestBody UserRegistVo vo);

    @PostMapping("/member/member/login")
    R login(@RequestBody UserLoginVo vo);
}
